package miiteen.customsportal.notice.dao;

import org.springframework.stereotype.Repository;
import miiteen.data.dao.impl.BaseDaoImpl;
import miiteen.customsportal.notice.beans.NoticeInfo;

import java.util.List;
import java.util.Map;

/**
 *Name: CustomsPortal_Notice_Info
 *Des: -Dao
 *Author: lx
 *Date: 2020-07-06
 */
@Repository("noticeInfoDao")
public class NoticeInfoDao extends BaseDaoImpl<NoticeInfo>{

    @Override
	protected String getMapper() {
		return "miiteen.customsportal.notice.beans.NoticeInfo";
	}
	public List<NoticeInfo> findListByMapPreviousNext(Map<String, Object> conditionMap) {
		List<NoticeInfo> list = getSqlSession().selectList(getMapper() + ".findListByMapPreviousNext", conditionMap);
		return list;
	}
}